//
//  BEMyOrderCell.swift
//  BEGlobalOiler
//
//  Created by KKING on 16/8/30.
//  Copyright © 2016年 Bullseye Energy pte ltd. All rights reserved.
//

import UIKit
import SnapKit

class BEOrderTableCell: UITableViewCell {
    
    @IBOutlet weak var orderStatusTF: UILabel!
    @IBOutlet weak var companyTF: UILabel!
    @IBOutlet weak var rigNameTF: UILabel!
    @IBOutlet weak var rigLocationTF: UILabel!
    @IBOutlet weak var actualStartTimeTF: UILabel!
    //背景图片
//    @IBOutlet weak var backimg: UIImageView!

    
    var ordersViewModel: BEMyOrdersViewModel? {
        didSet{
            orderStatusTF.text = ordersViewModel?.orderStatusName
            companyTF.text = ordersViewModel?.companyName
            rigNameTF.text = ordersViewModel?.rigName
            rigLocationTF.text = ordersViewModel?.rigLocation
            actualStartTimeTF.text = ordersViewModel?.actualStartTime
        }
    }

}
